import React from "react";
import {createStackNavigator} from "@react-navigation/stack";
import LoginView from "../pages/LoginView/LoginView";
import RegisterView from "../pages/RegisterView/RegisterView";
import ForgotPasswordView from "../pages/ForgotPasswordView/ForgotPasswordView";
const Stack = createStackNavigator();

export default function LoginNavigator() {
    return (
        <Stack.Navigator>
            <Stack.Screen 
                name="LoginView" 
                component={LoginView} 
                options={{headerShown: false}}
            />
            <Stack.Screen 
                name="RegisterView" 
                component={RegisterView} 
                options={{headerShown: false}}
            />
            <Stack.Screen 
                name="ForgotPasswordView" 
                component={ForgotPasswordView} 
                options={{headerShown: false}}
            />
        </Stack.Navigator>
    );
}